<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>YZNCMS后台管理系统</title>
    <meta name="author" content="YZNCMS">
    <link rel="stylesheet" href="__STATIC__/libs/layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/admin.css?v={$Think.config.version.yzncms_release}">
    <link rel="stylesheet" href="__STATIC__/common/font/iconfont.css?v={$Think.config.version.yzncms_release}">
    <script src="__STATIC__/libs/layui/layui.js"></script>
    <script src="__STATIC__/libs/jquery/jquery.min.js"></script>
    <script type="text/javascript">
    //全局变量
    var GV = {
        'site':{$site|raw|json_encode},
        'image_upload_url': '{$image_upload_url ? $image_upload_url : url("admin/ajax/upload", ["dir" => "images"])}',
        'file_upload_url': '{$file_upload_url ? $file_upload_url : url("admin/ajax/upload", ["dir" => "files"])}',
        'attachment_select_url': '{$attachment_select_url ? $attachment_select_url : url("admin/attachments/select")}',
    };
    </script>
</head>

<body class="childrenBody {:defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''}">
    {block name="main"}主内容{/block}
    {block name="layui"}
    {include file='admin@layui' /}
    {/block}
    {block name="script"}{/block}
</body>

</html>